﻿using System.Runtime.Serialization;

namespace ModelLayer
{
    [DataContract]
    public class City
    {
        public City(string cityName, int postalCode)
        {
            CityName = cityName;
            PostalCode = postalCode;
        }

        public City()
        {
        }

        [DataMember]
        public string CityName { get; set; }

        [DataMember]
        public int PostalCode { get; set; }
    }
}